﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace TodoApp.GoodsModel
{
    /// <summary>
    ///  商品表 
    /// </summary>
   public class TodoGoods : AuditedAggregateRoot<Guid>
    {

        /// <summary>
        /// 编码
        /// </summary>
        public string Encode { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string Names { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Brief { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string Img { get; set; }
        /// <summary>
        /// 种类Id
        /// </summary>
        public string GoodsCategoryId { get; set; }
        /// <summary>
        /// 分类Id
        /// </summary>
        public string GoodTypeId { get; set; }
        /// <summary>
        /// 品牌Id
        /// </summary>
        public string BrandId { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 评论数量
        /// </summary>
        public int CommentsCount { get; set; }
        /// <summary>
        /// 商品配送
        /// </summary>
        public string ProductsDistributionType { get; set; }
        /// <summary>
        /// 库存Id
        /// </summary>
        public string GoodsSkuIds { get; set; }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Intro { get; set; }
        /// <summary>
        /// 商品参数
        /// </summary>
        public string Parameters { get; set; }
        /// <summary>
        /// 浏览量
        /// </summary>
        public int ViewCount { get; set; }
        /// <summary>
        /// 已购买量
        /// </summary>
        public int BuyCount { get; set; }
        /// <summary>
        /// 上架时间
        /// </summary>
        public DateTime Uptime { get; set; }
        /// <summary>
        /// 下架时间
        /// </summary>
        public DateTime Downtime { get; set; }
        /// <summary>
        /// 排序Id
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRecommend { get; set; }
        /// <summary>
        /// 是否热度
        /// </summary>
        public bool IsHot { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 是否上架
        /// </summary>
        public bool IsMarketable { get; set; }
    }
}
